package com.innovation.cmd;

import com.innovation.exception.PatException;
import com.innovation.message.ServerMessageProto.ServerMessage;

/**
 * 服务器之间传递数据的命令
 * @author Administrator
 *
 */
public interface Command {
	/**
	 * 命令执行
	 * @param request
	 * @return
	 * @throws PatException
	 */
	public ServerMessage.Builder execute(ServerMessage request) throws PatException;
}
